home *** CD-ROM | disk | FTP | other *** search
/ Teach Yourself VRML 2 in 21 Days / Teach Yourself VRML 2 in 21 Days.iso / mac / HTML Editors and utilites / HTMLedit17.68k / HTML.edit 1.7 (68k) / HTML.edit 1.7 (68k).rsrc / TEXT_3951_Replace.txt < prev    next >
Encoding:
Text File  |  1995-09-05  |  2.2 KB  |  36 lines

  1.  
  2. Replace…
  3.  
  4. Choosing the Replace command from the Utility menu allows you to replace a given search string with a replacement string within the current document, or globally over all documents contained within the editor. Alternately, the Replace in Selection command makes the replacement within the current text selection.
  5.  
  6. The shortcut for Replace is Command-R; for Replace in Selection, Command-Shift-R.
  7.  
  8. If you create a text selection before choosing the Replace command, the dialog box will use it as the default search string.
  9.  
  10. Options
  11. All Occurrences
  12. When checked, all occurrences of the search text will be replaced with the replacement text. If left unchecked, only the first occurrence in the document will be replaced.
  13.  
  14. Global Replace
  15. When checked, a dialog box is displayed from where you may then select a document label or click the "All Documents" button. All occurrences of the search text will be replaced with the replacement text within all documents in the Editor, or within all documents labelled with the selected label.
  16.  
  17. If you want to perform a global replacement (all occurrences in all documents), be sure to check All Occurrences checkbox as well, or only the first instance of the search text found within each document will be replaced. Note that global changes of this type cannot be undone. See the Undo HTML command for more information.
  18.  
  19. MiniGREP
  20. When checked, several GREP-like codes will be interpreted as ASCII codes according to the table below. When unchecked, the codes will be treated as normal text. To use miniGREP codes, type the codes as show in the table below directly into either the "Search for:" or "Replace With:" text areas and check the miniGREP checkbox before performing the replacement.
  21.  
  22. MiniGREP Table
  23.   Code         Replacement           ASCII#
  24.   \f        form feed          12
  25.   \l        linefeed           10
  26.   \n        return+linefeed    10+13
  27.   \q        quote              34
  28.   \r        return             10
  29.   \s        space              32
  30.   \t        tab                09
  31.   \#10      any ASCII char     (n)  (not implemented)
  32.   \U        convert to UPPERCASE    (not implemented)
  33.   \L        convert to LOWERCASE    (not implemented)
  34.  
  35. Back to Utility menu, on to HyperText menu, or return to Tool Palette Menus.
  36.